package com.thunisoft.intranet.order.service.impl;

import java.math.BigDecimal;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.thunisoft.intranet.domain.TOrder;
import com.thunisoft.intranet.order.dao.IOrderDAO;
import com.thunisoft.intranet.order.service.IOrderService;

public class OrderServiceImpl implements IOrderService{
	
	@Autowired
	private IOrderDAO orderDAO;
	
	/*
	 * 保存订餐的订单信息
	 */
	@Override
	public void saveOrderInfo(TOrder order) {
		orderDAO.saveOrderInfo(order);
	}

	@Override
	public List<TOrder> getOrderList() {
		return orderDAO.getOrderList();
	}

	
}
